package com.example.websocket.service;

import com.example.websocket.pojo.LoginDTO;
import com.example.websocket.pojo.Result;
import jakarta.servlet.http.HttpSession;

import java.util.List;

//import javax.servlet.http.HttpSession;


/**
 * @ author 韩
 * time: 2024/2/16 18:04
 */

public interface UserService {
    Result login(LoginDTO dto, HttpSession session);

    Result register(LoginDTO dto);

    List<String> getUserList();
}
